import type { QueryCondition, SortParam } from "@/interface/lifecycle.ts";

export interface pagerListQueryType {
  allFields?: string[];
  conditions: QueryCondition[];
  logic?: string;
  pageNo?: number;
  pageSize?: number;
  sortParams?: SortParam[];

  [property: string]: any;
}

export interface pagerListQueryTypeResponse<T> {
  pageNo: number;
  pageSize: number;
  result?: T[];
  total: number;

  [property: string]: any;
}
